package com.ruoyi.ysg.mapper;

import com.ruoyi.ysg.domain.YsgSignRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YsgSignRecordMapper {
    List<YsgSignRecord> getSignInRecords(YsgSignRecord ysgSignRecord);

    void insert(YsgSignRecord ysgSignRecord);

    void batchInsert(@Param("list") List<YsgSignRecord> signRecords);

    void update(YsgSignRecord ysgSignRecord);

    /**
     * 通过id查询单个打卡记录
     *
     * @param id 打卡记录主键
     * @return 打卡记录
     */
    YsgSignRecord selectSignInRecordById(Long id);

}
